package com.designPattern.observer.dns;

/**
 * 全球顶级域名服务器
 *
 * @author : liutianlong
 * @date : 2023/6/2
 * @since : 1.0
 */
public class TopServer extends DnsServer{
    @Override
    public void sign(Recorder recorder) {
        recorder.setOwner("顶级DNS服务器");
    }

    @Override
    public boolean isLocal(Recorder recorder) {
        return true;
    }
}
